import { ElLoadingService } from "element-plus";

/**
 * 创建加载动画
 * @returns 
 */
export const createLoading = () => {
  return ElLoadingService({
    lock: true,
    text: "加载中。。。",
    background: "rgba(0, 0, 0, 0.7)",
  });
}